package com.eamois.service.manual.impl;

import java.util.Collection;

import com.eamois.dao.manual.StoppageDao;
import com.eamois.domain.manual.Stoppage;
import com.eamois.domain.manual.StoppageType;
import com.eamois.domain.sys.WorkCenter;
import com.eamois.service.impl.BaseServiceImpl;
import com.eamois.service.manual.StoppageService;

public class StoppageServiceImpl extends BaseServiceImpl<Stoppage,StoppageDao> implements StoppageService{

	@Override
	public Collection<Stoppage> findStoppage(StoppageType stoppageType) {
		// TODO Auto-generated method stub
		return this.getDao().findStoppage(stoppageType);
	}

	@Override
	public Collection<Stoppage> findStoppage(WorkCenter workCenter) {
		// TODO Auto-generated method stub
		return this.getDao().findStoppage(workCenter);
	}

	@Override
	public Collection<Stoppage> findStoppage(String partid, String partvar) {
		// TODO Auto-generated method stub
		return this.getDao().findStoppage(partid, partvar);
	}

	@Override
	public Collection<Stoppage> findStoppageByDescribe(String describe) {
		// TODO Auto-generated method stub
		return this.getDao().findStoppageByDescribe(describe);
	}

	@Override
	public Collection<Stoppage> findStoppageByVerify(String verify) {
		// TODO Auto-generated method stub
		return this.getDao().findStoppageByVerify(verify);
	}

	@Override
	public Collection<Stoppage> findStoppageByName(String name) {
		// TODO Auto-generated method stub
		return this.getDao().findStoppageByName(name);
	}

	@Override
	public Collection<Stoppage> findStoppageByType(StoppageType stoppageType,
			int page) {
		// TODO Auto-generated method stub
		return this.getDao().findStoppageByType(stoppageType, page);
	}

	@Override
	public Collection<Stoppage> findByBelongId(String id) {
		// TODO Auto-generated method stub
		return this.getDao().findByBelongId(id);
	}

}
